package cn.demo.test

class Task extends Serializable {
  val ints = List(1, 2, 3, 4, 5, 6, 7, 8, 9)

  val logic: Int => Int = _ * 2

  def candace(): List[Int] = {
    ints.map(logic)
  }

}
